package cn.itdlz.service.impl;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import cn.itdlz.dao.ReleaseDao;
import cn.itdlz.domain.Release;
import cn.itdlz.service.ReleaseService;


@Transactional
public class ReleaseServiceImpl implements ReleaseService {
	private ReleaseDao releaseDao;
	public void setReleaseDao(ReleaseDao releaseDao) {
		this.releaseDao = releaseDao;
	}

	@Override
	public void save(Release release) {
		releaseDao.save(release);
		
	}

	@Override
	public List<Release> findAll() {
		// TODO Auto-generated method stub
		return releaseDao.findAll();
	}
	

}
